package com.origin.oss.specification.domain.multipart.response;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author yezh
 * @date 2024/3/12 19:37
 */
@Schema(name = "急速上传返回域对象")
@Data
public class QuickUploadResp {

    @Schema(description = "文件 id")
    private String fileId;

    @Schema(description = "时间戳", example = "123123123123")
    private String timeStampName;

    @Schema(description = "跳过上传", example = "true")
    private boolean skipUpload;

    @Schema(description = "是否需要合并分片", example = "true")
    private boolean needMerge;

    @Schema(description = "已经上传的分片", example = "[1,2,3]")
    private List<Integer> uploaded;

}
